<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="../js/seajs/sea.js"></script>
    <script type="text/javascript" src="../js/seajs/sea_config.js"></script>
    <script type="text/javascript">
	
	 //跨目录调用js
	      seajs.use('../js/common/message', function (e) {
	          var mmText=document.getElementById("name").innerText;
	          e.printMessage("欢迎使用带参数的方法！"+mmText);
	      });
	

	/*
	 //简单使用jquery
			seajs.use('../js/jquery/jquery', function ($) {
	            alert($("#name").html());
	          });
	*/

	/*
	 //调用使用jquery的js的例子
		seajs.use('../js/common/usejquery', function (e) {
            e.showObj();
          });
    */
    </script>
</head>
<body>
	<div id="name">刘曼</div>
</body>
</html>